<!--
 * @Description: html中使用css
 * @Author: charles
 * @Date: 2021-08-10 14:05:31
 * @LastEditors: charles
 * @LastEditTime: 2021-08-10 14:09:04
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>html使用css</title>

</head>
<body>
  <div style="background-color:lightcoral; color: #fff; width: 300px;">
    hello world
  </div>
</body>
</html>